using System.Data.Entity;

namespace MiniStock.BusinessLogic.EventQueue.Data
{
    public class EventDispatcherContext : DbContext
    {
        public EventDispatcherContext()
        {
        }

        public EventDispatcherContext(string connectionString) : base(connectionString)
        {
        }

        public DbSet<EventQueueEventData> Events { get; set; }
        public DbSet<EventQueueHashAffinity> ClientAffinity { get; set; }
        public DbSet<EventQueueEventProcessorData> Listeners { get; set; }
    }
}